<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>方圆小程序后台管理</title>
  <link rel="stylesheet" href="layui/css/layui.css">
  <link rel="stylesheet" href="css/all.css">
</head>
<body class="layui-layout-body">
  <div class="layui-layout layui-layout-admin">
    <div class="layui-header">
      <div class="layui-logo">方圆小程序</div>
      <!-- 头部区域（可配合layui已有的水平导航） -->
      <ul class="layui-nav layui-layout-left">
        <li class="layui-nav-item"><a href="index.html">首页</a></li>
        <li class="layui-nav-item"><a href="shopdata.html">运营</a></li>
        <li class="layui-nav-item"><a href="setting.html">设置</a></li>
      </ul>
      <ul class="layui-nav layui-layout-right">
        <li class="layui-nav-item">手边卡券</li>
        <li class="layui-nav-item">
          <a href="center.html">
            你好，170600001
          </a>
          <dl class="layui-nav-child">
            <dd><a href="">基本资料</a></dd>
            <dd><a href="">安全设置</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item"><a href="">帮助</a></li>
      </ul>
    </div>
    
    <div class="layui-side layui-bg-black">
      <div class="layui-side-scroll">
        <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
        <ul class="layui-nav layui-nav-tree">
          <li class="layui-nav-item">
            <a href="javascript:;"><img src="images/shop_normal.png" alt="" class="menuicon">商户管理</a>
            <dl class="layui-nav-child">
              <dd><a href="shopdata.html">商户数据</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item">
            <a href="javascript:;"><img src="images/mendian_normal.png" alt="" class="menuicon">门店展示管理</a>
            <dl class="layui-nav-child">
              <dd><a href="paidstore.html">付费门店管理</a></dd>
              <dd><a href="freestore.html">免费入驻管理</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;"><img src="images/guanggao__normal.png" alt="" class="menuicon">广告位设置</a>
            <dl class="layui-nav-child">
              <dd><a href="topbanner.html">顶部Banner设置</a></dd>
              <dd><a href="recommend.html">推荐店铺设置</a></dd>
              <dd><a href="anglemark.html">角标店铺设置</a></dd>
            </dl>
          </li>        
        </ul>
      </div>
    </div>
    
    <div class="layui-body">
      <!-- 内容主体区域 -->
       <div class="Crumbs">
         <span class="layui-breadcrumb" style="visibility: visible;">
            <a href="shopdata.html">运营</a><span lay-separator="">/</span>
            <a href="/demo/">广告位置设置</a><span lay-separator="">/</span>
            <a><cite>角标店铺设置</cite></a>
          </span>
        </div>
     <div class="layui-body-con">
           <div class="layui-body-btn">
             <div class="layui-btn-group">
                  <a class="layui-btn layui-btn-sm" href="newanglemark.html"><i class="layui-icon">新增角标店铺</i></a>
              </div>
           </div>

        <div class="layui-body-tab">
            <table class="layui-table" lay-data="{width:1200, height:640, url:'', page:true, id:'idTest'}" lay-filter="demo">
              <thead>
                <tr>
                  <th lay-data="{field:'id', width:80, fixed: true, align:'center'}">序号</th>
                  <th lay-data="{field:'Com_name', width:380, align:'center'}">商户名称</th>
                  <th lay-data="{field:'Agent', width:600,  align:'center'}">角标显示时间</th>
                  <th lay-data="{fixed: 'right', width:140, align:'center', toolbar: '#barDemo'}">操作</th>
                </tr>
              </thead>
            </table>
            <script type="text/html" id="barDemo">
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">操作</a>
            <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
          </script>
         </div>
    </div>
    
  </div>
<script src="layui/layui.js"></script>
<script>
//一般直接写在一个js文件中
layui.use(['layer', 'form','table','element'], function(){
  var element = layui.element;
  var layer = layui.layer
  ,form = layui.form
  ,table = layui.table
  ;
   //监听提交
  form.on('submit(formDemo)', function(data){
    layer.msg(JSON.stringify(data.field));
    return false;
  });
});

</script>
<script src="js/paidstore.js"></script>
</body></html>